package com.xinchuang.mapper.targetSystem;

import com.xinchuang.entity.targetSystem.Region;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName RegionMapper
 * @Description: TODO(写一段描述的话)
 * @Author zhangxuan
 * @Date 2022-06-14 14:46
 * @Verion V1.0
 */
public interface RegionMapper {

    @Select(value = "SELECT id,adcode,acroutes,geometry,parent,center,centroid,sub_feature_index FROM region WHERE adcode = #{adcode}")
    Region getRegionOne(@Param("adcode") String adcode);

}
